Remainder approach for the computation of digital straight line subsegment characteristics
نویسندگان
چکیده
Given a digital straight line D of known characteristics (a, b, c), and given two arbitrary discrete points A(xa, ya) and B(xb, yb) of it, we are interested in computing the characteristics of the digital straight segment (DSS) of D delimited by the endpoints A and B. Our method is based entirely on the remainder subsequence S = {ax − c mod b; xa ≤ x ≤ xb}. We show that minimum and maximum remainders correspond to the three leaning points of the subsegment needed to determine its characteristics. One of the key aspects of the method is that we show that computing such a minimum and maximum of a remainder sequence can be done in logarithmic time with an algorithm akin to the Euclidean algorithm. Experiments show that our algorithm is faster than the previous ones proposed by Said and Lachaud in [11] and Sivignon in [16].
منابع مشابه
Walking in the Farey Fan to Compute the Characteristics of a Discrete Straight Line Subsegment
Given a Digital Straight Line (DSL) of known characteristics (a, b, μ), we address the problem of computing the characteristics of any of its subsegments. We propose a new algorithm as a smart walk in the so called Farey Fan. We take profit of the fact that the Farey Fan of order n represents in a certain way all the digital segments of length n. The computation of the characteristics of a DSL ...
متن کاملFast recognition of a Digital Straight Line subsegment: Two algorithms of logarithmic time complexity
Given a Digital Straight Line (DSL) of known characteristics (a, b, μ), we address the problem of computing the characteristics of any of its subsegments. We propose two new algorithms that use the fact that a digital straight segment (DSS) can be defined by its set of separating lines. The representation of this set in the Z space leads to a first algorithm of logarithmic time complexity. This...
متن کاملComputing the Characteristics of a SubSegment of a Digital Straight Line in Logarithmic Time
We address the problem of computing the exact characteristics of any subsegment of a digital straight line with known characteristics. We present a new algorithm that solves this problem, whose correctness is proved. Its principle is to climb the SternBrocot tree of fraction in a bottom-up way. Its worst-time complexity is proportionnal to the difference of depth of the slope of the input line ...
متن کاملAn Arithmetical Characterization of the Convex Hull of Digital Straight Segments
In this paper, we arithmetically describe the convex hull of a digital straight segment by three recurrence relations. This characterization gives new insights into the combinatorial structure of digital straight segments of arbitrary length and intercept. It also leads to two on-line algorithms that computes a part of the convex hull of a given digital straight segment. They both run in consta...
متن کاملAnalysis of Planar Microstrip Circuits Using Three-Dimensional Transmission Line Matrix Method
The frequency-dependent characteristics of microstrip planar circuits have been previously analyzed using several full-wave approaches. All those methods directly give characteristic of the circuits frequency by frequency. Computation time becomes important if these planar circuits have to be studied over a very large bandwidth. The transmission line matrix (TLM) method presented in this paper ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Discrete Applied Mathematics
دوره 183 شماره
صفحات -
تاریخ انتشار 2015